package cn.zktr.Personnel.model.mappers.tantiantian;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

import cn.zktr.Personnel.model.pojos.PerPmsDis;
import cn.zktr.Personnel.model.pojos.PerPmsEmp;
import cn.zktr.Personnel.model.pojos.PerPmsHCont;
import cn.zktr.Personnel.model.pojos.PerPmsPot;
import cn.zktr.Personnel.model.pojos.PerSlyYxz;
@Mapper
public interface PmsStmMapper {
	/**
	 * @param potzj
	 * @return根据职位查询员工
	 */
	public JSONArray seleStmAll(@Param("zhijiid")Integer zhijiid);
	/**
	 * @return查询薪资上级员工
	 */
	public JSONArray seleStmpotid();
	
	public JSONArray seleStmpotid_zong();
	/**
	 * @param empid
	 * @return 根据员工id查询员工信息seleEmpids
	 */
	public List<PerPmsEmp> seleEmpid(@Param("empid")Integer empid);
	public PerPmsEmp seleEmpids(@Param("empid")Integer empid);
	
	/**
	 * @return查找职级
	 */
	public List<PerPmsPot> selepot(@Param("zhijiid")Integer zhijiid);
	//查找离职表
	public List<PerPmsDis> seleEmpdis(@Param("empid")Integer empid);
	//删除离职员工
//	public PerSlyYxz seleYxzsb(@Param("empid")Integer empid);
	public PerPmsHCont sele_jibengognzi(@Param("zhijiid")Integer zhijiid);
	public void deletYxzs(@Param("empid")Integer empid);
}
